Skip to content

[0.4.x] libvisual-plugins: Make input plugin "portaudio" fall back to mono as needed (e.g. for macOS) - #279

Merged
hartwork merged 3 commits into
0.4.xfrom
0.4.x-portaudio-improve
Feb 14, 2023
Merged

hartwork merged 3 commits into
0.4.xfrom
0.4.x-portaudio-improve

Conversation

@hartwork

Copy link
Copy Markdown
Member

No description provided.


typedef struct {
PaStream *stream;
unsigned count_channels; // 0 (unknown), 1 (mono) or 2 (stereo)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be better to name this channel_count and use unsigned int (instead of unsigned)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaixiong can do. unsigned on its own is unsigned int, it was not by accident. Done, pushed.

@hartwork
hartwork force-pushed the 0.4.x-portaudio-improve branch from f31f80c to 4e7922c Compare February 14, 2023 15:23
@hartwork
hartwork requested a review from kaixiong February 14, 2023 15:24
@hartwork
hartwork force-pushed the 0.4.x-portaudio-improve branch from 4e7922c to ba33b0c Compare February 14, 2023 15:36
@hartwork
hartwork merged commit 34e03a5 into 0.4.x Feb 14, 2023
@hartwork
hartwork deleted the 0.4.x-portaudio-improve branch February 14, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants